package com.easy.dao;

import com.easy.bean.Cases;
import com.easy.bean.DepIdCount;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ICasesDao {

    List<Cases> getCases(Cases cases);

    int addCases(Cases cases);


    int delCases(int id);

    Cases getCasesById(int id);

    int editCases(Cases cases);

    int editCasesPay(Cases cases);

    List<Cases> getCases(@Param("cases")Cases cases, @Param("page") Page page);

    int getCount(@Param("cases")Cases cases);

    List<DepIdCount> getDep_idCount();


}
